package com.zxl.common.model.bo.shopping;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zxw
 * @date 2023/4/3
 */
@Data
public class ShoppingEdit {
    @ApiModelProperty(hidden = true)
    private Integer memberId;

    @ApiModelProperty("商品编号")
    @NotBlank(message = "商品编号不能为空")
    private String goodCode;

    @ApiModelProperty("商品数量")
    private Integer goodsNum;
}
